<?php
require_once ("model/m_new.php");
$news = new M_new();
if (Count($_GET)==0){
    exit;
}

$id=$_GET['id'];

$detail=$news->getNewDetail($id);
 
?>
 
<h2 style="margin-top:10px;color:#fff;border-bottom:1px solid #fcfcfc;"><?php echo $detail['title'];?></h2>
<br/>
<p>
  <?php echo htmlspecialchars_decode(($detail['description']));?>
</p>
 